package com.zerui.manager;

import com.zerui.authority.annotation.EnableAuthorize;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
 * Spring Boot Starter
 *
 * @author Frank Zhang
 */
@EnableAuthorize
@EnableAsync
@EnableScheduling
@EnableDubbo
@EnableFeignClients
@MapperScan(annotationClass = Mapper.class)
@SpringBootApplication(scanBasePackages = {"com.zerui.manager", "com.alibaba.cola"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
